import Mock from 'mockjs'
//json文件默认对外暴露
//webpack默认对外暴露  图片/JSON数据格式
import banner from './banner.json'
import floor from './floor.json'

//请求地址  ,请求数据
Mock.mock("/mock/banner",{
    code:200,
    data:banner
})

Mock.mock("/mock/floor",{
    code:200,
    data:floor
})